package com.hyphenate.chatuidemo.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ccm on 2016/7/7 15:48
 */
public class SudokuInfo implements Serializable {


    /**
     * code : 2000
     * data : {"shortcutMenuList":[{"menuCategory":"常用","shortcutMenuDTOList":[{"id":"23bb091cbdd5417b8b2bef9be2ae47af","name":"快捷菜单名称H5","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"H5","categoryName":"H5","isRecommend":true,"sortNumber":999,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":true,"shareTitle":"JO H5分享标题","shareContent":"JO H5分享内容","shareUrl":"http://www.baidu.com/fenxiangURL","sharePictureKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","clickStatus":true},{"id":"268035c2bdbc4aa988fced28d657aad6","name":"快捷菜单名称","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"RECOMMENDCARD","categoryName":"RECOMMENDCARD","isRecommend":true,"sortNumber":999,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true}]},{"menuCategory":"出行娱乐","shortcutMenuDTOList":[{"id":"178fdbd4ab3a47fb812d0b1ea5a83110","name":"快222","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"H5","categoryName":"H5","isRecommend":true,"sortNumber":1,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":true,"shareTitle":"JO H5分享标题","shareContent":"JO H5分享内容","shareUrl":"http://www.baidu.com/fenxiangURL","sharePictureKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","clickStatus":true},{"id":"23bb091cbdd5417b8b2bef9be2ae47af","name":"快捷菜单名称H5","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"H5","categoryName":"H5","isRecommend":true,"sortNumber":1,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":true,"shareTitle":"JO H5分享标题","shareContent":"JO H5分享内容","shareUrl":"http://www.baidu.com/fenxiangURL","sharePictureKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","clickStatus":true},{"id":"268035c2bdbc4aa988fced28d657aad6","name":"快捷菜单名称","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"RECOMMENDCARD","categoryName":"RECOMMENDCARD","isRecommend":true,"sortNumber":2,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true},{"id":"e145727c82ac4b2eb4ad6ca074109468","name":"123","iconKey":"http://image.joplus.cn/2017-04-10/2017041008392000506462.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:WOPFqxKO489UXBYVLdswf4k_P8Y=","categoryValue":"RECOMMENDCARD","categoryName":"RECOMMENDCARD","isRecommend":false,"sortNumber":999,"nativeValue":"","nativeName":"","content":"","isHot":false,"isNew":true,"autoReply":"","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true}]},{"menuCategory":"出行娱乐","shortcutMenuDTOList":[{"id":"8b4d316099004c429375a82299187dda","name":"快捷菜单名称H5","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"H5","categoryName":"H5","isRecommend":true,"sortNumber":1,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容sss","isShare":true,"shareTitle":"JO H5分享标题sss","shareContent":"JO H5分享内容sss","shareUrl":"http://www.baidu.com/fenxiangURL","sharePictureKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","clickStatus":true},{"id":"af014b9d83164c9295ffbea79d1767f4","name":"蛋糕","iconKey":"http://image.joplus.cn/2017-04-10/2017041004121742008818.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:mgDKcmO14BSpuCWLEH9fwTH5vSc=","categoryValue":"SERVICE","categoryName":"SERVICE","isRecommend":false,"sortNumber":999,"nativeValue":"","nativeName":"","content":"ser1463111314469BI88","isHot":false,"isNew":true,"autoReply":"你要蛋糕吗？","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true},{"id":"bed13d20e73d44bea3d0c3106845912d","name":"快捷菜单名称","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"RECOMMENDCARD","categoryName":"RECOMMENDCARD","isRecommend":false,"sortNumber":2,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true}]}]}
     * message :
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * menuCategory : 常用
         * shortcutMenuDTOList : [{"id":"23bb091cbdd5417b8b2bef9be2ae47af","name":"快捷菜单名称H5","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"H5","categoryName":"H5","isRecommend":true,"sortNumber":999,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":true,"shareTitle":"JO H5分享标题","shareContent":"JO H5分享内容","shareUrl":"http://www.baidu.com/fenxiangURL","sharePictureKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","clickStatus":true},{"id":"268035c2bdbc4aa988fced28d657aad6","name":"快捷菜单名称","iconKey":"http://image.joplus.cn/2016-11-29/201611290223107130648.jpg?e=1492156526&token=aBcc3cHlCNiHpGi-QCjGrwLt_P8iLyvWiVlFN1Vp:JKFhF3KUJ9E9A1WB4v4M9NPDkaM=","categoryValue":"RECOMMENDCARD","categoryName":"RECOMMENDCARD","isRecommend":true,"sortNumber":999,"nativeValue":"","nativeName":"","content":"http://www.baidu.com","isHot":true,"isNew":false,"autoReply":"自动回复内容","isShare":false,"shareTitle":"","shareContent":"","shareUrl":"","sharePictureKey":"","clickStatus":true}]
         */

        private List<ShortcutMenuListBean> shortcutMenuList;

        public List<ShortcutMenuListBean> getShortcutMenuList() {
            return shortcutMenuList;
        }

        public void setShortcutMenuList(List<ShortcutMenuListBean> shortcutMenuList) {
            this.shortcutMenuList = shortcutMenuList;
        }

        public static class ShortcutMenuListBean implements Parcelable {
            private String menuCategory;


            private List<ShortcutMenuDTOListBean> shortcutMenuDTOList;

            public String getMenuCategory() {
                return menuCategory;
            }

            public void setMenuCategory(String menuCategory) {
                this.menuCategory = menuCategory;
            }

            public List<ShortcutMenuDTOListBean> getShortcutMenuDTOList() {
                return shortcutMenuDTOList;
            }

            public void setShortcutMenuDTOList(List<ShortcutMenuDTOListBean> shortcutMenuDTOList) {
                this.shortcutMenuDTOList = shortcutMenuDTOList;
            }

            public static class ShortcutMenuDTOListBean implements Parcelable {
                private String id;
                private String name;
                private String iconKey;
                private String categoryValue;
                private String categoryName;
                private boolean isRecommend;
                private int sortNumber;
                private String nativeValue;
                private String nativeName;
                private String content;
                private boolean isHot;
                private boolean isNew;
                private String autoReply;
                private boolean isShare;
                private String shareTitle;
                private String shareContent;
                private String shareUrl;
                private String sharePictureKey;
                private boolean clickStatus;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getIconKey() {
                    return iconKey;
                }

                public void setIconKey(String iconKey) {
                    this.iconKey = iconKey;
                }

                public String getCategoryValue() {
                    return categoryValue;
                }

                public void setCategoryValue(String categoryValue) {
                    this.categoryValue = categoryValue;
                }

                public String getCategoryName() {
                    return categoryName;
                }

                public void setCategoryName(String categoryName) {
                    this.categoryName = categoryName;
                }

                public boolean isIsRecommend() {
                    return isRecommend;
                }

                public void setIsRecommend(boolean isRecommend) {
                    this.isRecommend = isRecommend;
                }

                public int getSortNumber() {
                    return sortNumber;
                }

                public void setSortNumber(int sortNumber) {
                    this.sortNumber = sortNumber;
                }

                public String getNativeValue() {
                    return nativeValue;
                }

                public void setNativeValue(String nativeValue) {
                    this.nativeValue = nativeValue;
                }

                public String getNativeName() {
                    return nativeName;
                }

                public void setNativeName(String nativeName) {
                    this.nativeName = nativeName;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public boolean isIsHot() {
                    return isHot;
                }

                public void setIsHot(boolean isHot) {
                    this.isHot = isHot;
                }

                public boolean isIsNew() {
                    return isNew;
                }

                public void setIsNew(boolean isNew) {
                    this.isNew = isNew;
                }

                public String getAutoReply() {
                    return autoReply;
                }

                public void setAutoReply(String autoReply) {
                    this.autoReply = autoReply;
                }

                public boolean isIsShare() {
                    return isShare;
                }

                public void setIsShare(boolean isShare) {
                    this.isShare = isShare;
                }

                public String getShareTitle() {
                    return shareTitle;
                }

                public void setShareTitle(String shareTitle) {
                    this.shareTitle = shareTitle;
                }

                public String getShareContent() {
                    return shareContent;
                }

                public void setShareContent(String shareContent) {
                    this.shareContent = shareContent;
                }

                public String getShareUrl() {
                    return shareUrl;
                }

                public void setShareUrl(String shareUrl) {
                    this.shareUrl = shareUrl;
                }

                public String getSharePictureKey() {
                    return sharePictureKey;
                }

                public void setSharePictureKey(String sharePictureKey) {
                    this.sharePictureKey = sharePictureKey;
                }

                public boolean isClickStatus() {
                    return clickStatus;
                }

                public void setClickStatus(boolean clickStatus) {
                    this.clickStatus = clickStatus;
                }

                @Override
                public int describeContents() {
                    return 0;
                }

                @Override
                public void writeToParcel(Parcel dest, int flags) {
                    dest.writeString(this.id);
                    dest.writeString(this.name);
                    dest.writeString(this.iconKey);
                    dest.writeString(this.categoryValue);
                    dest.writeString(this.categoryName);
                    dest.writeByte(this.isRecommend ? (byte) 1 : (byte) 0);
                    dest.writeInt(this.sortNumber);
                    dest.writeString(this.nativeValue);
                    dest.writeString(this.nativeName);
                    dest.writeString(this.content);
                    dest.writeByte(this.isHot ? (byte) 1 : (byte) 0);
                    dest.writeByte(this.isNew ? (byte) 1 : (byte) 0);
                    dest.writeString(this.autoReply);
                    dest.writeByte(this.isShare ? (byte) 1 : (byte) 0);
                    dest.writeString(this.shareTitle);
                    dest.writeString(this.shareContent);
                    dest.writeString(this.shareUrl);
                    dest.writeString(this.sharePictureKey);
                    dest.writeByte(this.clickStatus ? (byte) 1 : (byte) 0);
                }

                public ShortcutMenuDTOListBean() {
                }

                protected ShortcutMenuDTOListBean(Parcel in) {
                    this.id = in.readString();
                    this.name = in.readString();
                    this.iconKey = in.readString();
                    this.categoryValue = in.readString();
                    this.categoryName = in.readString();
                    this.isRecommend = in.readByte() != 0;
                    this.sortNumber = in.readInt();
                    this.nativeValue = in.readString();
                    this.nativeName = in.readString();
                    this.content = in.readString();
                    this.isHot = in.readByte() != 0;
                    this.isNew = in.readByte() != 0;
                    this.autoReply = in.readString();
                    this.isShare = in.readByte() != 0;
                    this.shareTitle = in.readString();
                    this.shareContent = in.readString();
                    this.shareUrl = in.readString();
                    this.sharePictureKey = in.readString();
                    this.clickStatus = in.readByte() != 0;
                }

                @Override
                public String toString() {
                    return "ShortcutMenuDTOListBean{" +
                            "id='" + id + '\'' +
                            ", name='" + name + '\'' +
                            ", iconKey='" + iconKey + '\'' +
                            ", categoryValue='" + categoryValue + '\'' +
                            ", categoryName='" + categoryName + '\'' +
                            ", isRecommend=" + isRecommend +
                            ", sortNumber=" + sortNumber +
                            ", nativeValue='" + nativeValue + '\'' +
                            ", nativeName='" + nativeName + '\'' +
                            ", content='" + content + '\'' +
                            ", isHot=" + isHot +
                            ", isNew=" + isNew +
                            ", autoReply='" + autoReply + '\'' +
                            ", isShare=" + isShare +
                            ", shareTitle='" + shareTitle + '\'' +
                            ", shareContent='" + shareContent + '\'' +
                            ", shareUrl='" + shareUrl + '\'' +
                            ", sharePictureKey='" + sharePictureKey + '\'' +
                            ", clickStatus=" + clickStatus +
                            '}';
                }

                public static final Parcelable.Creator<ShortcutMenuDTOListBean> CREATOR = new Parcelable.Creator<ShortcutMenuDTOListBean>() {
                    @Override
                    public ShortcutMenuDTOListBean createFromParcel(Parcel source) {
                        return new ShortcutMenuDTOListBean(source);
                    }

                    @Override
                    public ShortcutMenuDTOListBean[] newArray(int size) {
                        return new ShortcutMenuDTOListBean[size];
                    }
                };
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.menuCategory);
                dest.writeTypedList(this.shortcutMenuDTOList);
            }

            public ShortcutMenuListBean() {
            }

            protected ShortcutMenuListBean(Parcel in) {
                this.menuCategory = in.readString();
                this.shortcutMenuDTOList = in.createTypedArrayList(ShortcutMenuDTOListBean.CREATOR);
            }

            public static final Parcelable.Creator<ShortcutMenuListBean> CREATOR = new Parcelable.Creator<ShortcutMenuListBean>() {
                @Override
                public ShortcutMenuListBean createFromParcel(Parcel source) {
                    return new ShortcutMenuListBean(source);
                }

                @Override
                public ShortcutMenuListBean[] newArray(int size) {
                    return new ShortcutMenuListBean[size];
                }
            };
        }
    }
}
